package com.xyht.medicine_management_system.modules.classification.service;

import com.xyht.medicine_management_system.common.commonReturn.ResponseResult;
import com.xyht.medicine_management_system.modules.classification.entity.MmsMedicineClassification;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.medicine_management_system.modules.classification.entity.req.MmsMedicineClassificationAddReq;
import com.xyht.medicine_management_system.modules.classification.entity.req.MmsMedicineClassificationUpdateReq;

/**
 * <p>
 * 药品分类 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-11-29
 */
public interface MmsMedicineClassificationService extends IService<MmsMedicineClassification> {

    ResponseResult addClassification(MmsMedicineClassificationAddReq addReq);

    ResponseResult updateClassification(MmsMedicineClassificationUpdateReq updateReq);

    ResponseResult deletedClassification(String id);

    ResponseResult getClassificationDetail(String id, String userId);

    ResponseResult getClassificationList(Integer pageNum,Integer pageSize,String name, String userId,Integer type);
}
